package com.yuanfeng.activity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanfeng.activity.dto.ReductionPolicyRuleAddDTO;
import com.yuanfeng.activity.entity.ActivityReductionPolicyRuleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Entity com.yuanfeng.activity.entity.ActivityReductionPolicyRule
 */
@Mapper
public interface ActivityReductionPolicyRuleMapper extends BaseMapper<ActivityReductionPolicyRuleEntity> {

    List<Integer> selectPromotionIds(@Param("param") Map<String, Object> param);

    void insertManjianzengzheRules(@Param("param") ReductionPolicyRuleAddDTO param);
}




